<template>
  <div class="editAddress-container">
    <my-header title="编辑地址" @onClickLeft="$router.push('/myAddress')"/>
    <operation-address :username="editAddress.name" :mobile="editAddress.mobile" :addressItem="editAddress.address" :doorNumber="editAddress.homeNum"></operation-address>
  </div>
</template>

<script>
import MyHeader from '../components/my-header.vue'
import OperationAddress from '../components/operation-address.vue'
import { mapState } from 'vuex'
export default {
  name: 'editAddressIndex',
  components: {
    MyHeader,
    OperationAddress
  },
  props: {},
  data () {
    return {
      editAddress: {}
    }
  },
  computed: {
    ...mapState('m_my', ['editAddressList'])
  },
  watch: {},
  created () {
    this.editAddress = this.editAddressList
  },
  mounted () {

  },
  methods: {

  }
}
</script>

<style scoped lang="less">

</style>
